*{
    /* 初始化 */
    margin: 0;
    padding: 0;
}
body{
    /* 窗口100% */
    height: 100vh;
    /* 弹性布局，水平加垂直居中 */
    display: flex;
    justify-content: center;
    align-items: center;
    /* 背景渐变 */
    background:linear-gradient(45deg,rgb(99, 172, 240),rgb(190, 164, 240));
}
.container{
    background-color: rgb(254, 255, 255);
    width: 45%;
    height: 50%;
    border-radius: 5px;
    /* 阴影 */
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    /* 相对定位 */
    position: relative;
}
.form-box{
    /* 绝对定位 */
    position: absolute;
    top: -10%;
    left: 5%;
    background-color: rgb(245, 212, 243);
    background: url("../images/th.jpg") no-repeat ;
    background-size: cover;
    opacity: 0.97;
    width: 50%;
    height: 415px;
    border-radius: 5px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    /* 动画过渡 加速后减速 */
    transition: 0.5s ease-in-out;
}
.register-box,.login-box{
    /* 弹性布局，垂直排列 */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.hidden{
    display: none;
    transition: 0.5s;
}
h1{
    text-align: center;
    margin-bottom: 25px;
    /* 变换为大写 */
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    /* 字间距 */
    letter-spacing: 5px;
}
input{
    background-color: transparent;
    width: 70%;
    border: none;
    color: rgb(6, 7, 7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    padding: 10px 0;
    text-indent: 10px ;
    margin: 4px 0;
    font-size: 14px;
    letter-spacing: 2px;
}
input::placeholder{
    color: #fff;
}
input:focus{
    color: rgb(255, 255, 255);
    outline: none;
    border-bottom: 1px solid rgb(148, 112, 146);
    transition: 0.5s;
}
input:focus::placeholder{
    opacity: 0;
}
.form-box button{
    width: 70%;
    margin-top: 25px;
    background-color: rgb(238, 241, 247);
    outline: none;
    border-radius: 10px;
    padding: 12px;
    color: rgb(129, 157, 199);
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
}
.form-box button:hover{
    background-color: rgb(129, 157, 199);
    color: #fff;
    transition: background-color 0.5s ease;
}
/*  */
.con-box{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.con-box.left{
    left: -26%;
}
.con-box.right{
    right: -26%;
}
.con-box h2{
    color: rgb(104, 107, 112);
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 5px;
}
.con-box button{
    margin-top: 3%;
    background-color: #fff;
    color: rgb(130, 147, 192);
    border: 1px solid rgb(129, 157, 199);
    padding: 5px 10px;
    border-radius: 5px;
    letter-spacing: 2px;
    outline: none;
    cursor: pointer;
}
.con-box button:hover{
    background-color: rgb(129, 157, 199);
    color: #fff;
}
.Q{
    width: 100px;
    height: 100px;
}
a{
    text-decoration: none;
    color: rgb(27, 79, 121);
}